<extend name="Public:base" />


<block name="head">
<script id="active" type="text/template">
<span class="glyphicon glyphicon-ok text-success"></span>
</script>

<script>
var change_now_id;
function change(id){
	if(confirm('真的要换乘吗？')){
		// $('#' + id).remove();
		$('#' + change_now_id).html('');
		$('#' + id).html($('#active').html());
		change_now_id = id;
	}
}
$(function(){
	//选中第几
	change_now_id = 2;
	$('#2').html($('#active').html());
});
</script>
</block>


<block name="main">

<!-- <img src="__PUBLIC__/img/account/top.jpg" width="100%"> -->

<br><br>

<div class="container">

	<include file="_nav"/>

	<table class="table">
		<thead>
			<tr>
				<td width="13%">线路</td>
				<td width="18%">连接</td>
				<td>途经/目的地</td>
				<td width="10%"></td>
			</tr>
		</thead>
		<tbody>
			<tr onclick="change(0)">
				<td>A</td>
				<td>体育中心</td>
				<td>PM7:30 体育中心西大门<br>天河大厦对面、体育中心E出口</td>
				<td id="0"></td>
			</tr>
			<tr onclick="change(1)">
				<td>A+</td>
				<td>潭汇</td>
				<td>PM7:30 经停潭村（地铁A出口）<br>
				PM7:50 汇景新城（南门会所门口）</td>
				<td id="1"></td>
			</tr>
			<tr onclick="change(2)">
				<td>B</td>
				<td>番禺</td>
				<td>PM7:30 经停丽江花园售楼部<br>
				PM7:45 华南碧桂园（迎宾路牌坊）<br>
				PM7:30 总站祈福酒店
				</td>
				<td id="2"></td>
			</tr>
			<tr onclick="change(3)">
				<td>C</td>
				<td>佛山</td>
				<td>PM7:30 碧桂花城（佛陈桥脚）</td>
				<td id="3"></td>
			</tr>
			<tr onclick="change(4)">
				<td>C</td>
				<td>佛山南海</td>
				<td>PM7:30 万达广场停车场东门（金融高新区A出口）</td>
				<td id="4"></td>
			</tr>
			<tr onclick="change(5)">
				<td>D</td>
				<td>深圳</td>
				<td>PM7:30 世界之窗<br>
				PM7:50 经停后海</td>
				<td id="5"></td>
			</tr>
		</tbody>
	</table>

	<div class="navbar-fixed-bottom">
		<button class="btn btn-block btn-danger"
		onclick="location.href='__URL__/out/year/{$_GET.year}/month/{$_GET.month}/day/{$_GET.day}'">不坐
		{$_GET.year}-{$_GET.month}-{$_GET.day}
		星期<?php
switch($_GET['week']){
	case 0:
		echo '日';
		break;
	case 1:
		echo '一';
		break;
	case 2:
		echo '二';
		break;
	case 3:
		echo '三';
		break;
	case 4:
		echo '四';
		break;
	case 5:
		echo '五';
		break;
	case 6:
		echo '六';
		break;
}
?>
		的校巴</button>
	</div>

	<div class="alert alert-warning alert-dismissible fade in" role="alert">
		<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
		查看和更改自己要乘坐的校巴，可以不坐
	</div>


</div>

</block>
